const storeMeta = {
	subType: 'store',
	leftNav:'shop'
}
const goodsMeta = {
	subType: 'goods',
	leftNav:'shop'
}
const shopRouter = [
	{
		path: 'storeuser',
		name: 'storeuser',
		component: () => import('@/views/shop/storeuser.vue'),
		meta: {
		  title: '店员管理',
		  ...storeMeta
		}
	},
	{
		path: 'storelist',
		name: 'storelist',
		component: () => import('@/views/shop/storeuser.vue'),
		meta: {
			title: '店铺列表',
			...storeMeta
		}
	},
	{
		path: 'storeset',
		name: 'storeset',
		component: () => import('@/views/shop/storeuser.vue'),
		meta: {
			title: '店铺设置',
			...storeMeta
		}
	},
	{
		path: 'goodslist',
		name: 'goodslist',
		component: () => import('@/views/shop/storeuser.vue'),
		meta: {
			title: '商品列表',
			...goodsMeta
		}
	},
	{
		path: 'goodscate',
		name: 'goodscate',
		component: () => import('@/views/shop/storeuser.vue'),
		meta: {
			title: '商品分类',
			...goodsMeta
		}
	}
]

export const shop = [
	{
		path: '/shop',
		name: 'shop',
		component: () => import('@/layout/index.vue'),
		children: shopRouter
	}
]
